﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.Master" AutoEventWireup="true"
    Inherits="Wjtour.Web.Admin.picture.addedi" %>

<%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<%@ Import Namespace="Wjtour.Domain" %>
<%@ Import Namespace="Wjtour.Common" %>
<%@ Import Namespace="Wjtour.Domain.dto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <table id="addeditable" border="1" cellpadding="0" cellspacing="0" bordercolor="#dddddd">
        <tr>
            <td width="115px" align="right">
                图片类别：
            </td>
            <td>
                &nbsp;<asp:DropDownList runat="server" ID="cid">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                图片名称：
            </td>
            <td>
                &nbsp;<asp:TextBox ID="title" Width="300" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right">
                图片描述：
            </td>
            <td>
                &nbsp;<asp:TextBox ID="picturedesc" Width="300" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right">
                上传图片：
            </td>
            <td>
                &nbsp;<asp:TextBox runat="server" ID="img" Width="300" />
                <asp:FileUpload ID="upload" runat="server" />
                <asp:Button ID="btnPublish" runat="server"  Text="上传"/>
                <asp:HiddenField ID="bigImg" runat="server" />
            </td>
        </tr>
        <tr>
            <td align="right">
                图片预览：
            </td>
            <td>
                &nbsp;<asp:Image runat="server" ID="imgPreview" ImageUrl="" />
            </td>
        </tr>
        <tr>
            <td align="right">
                上传压缩包：
            </td>
            <td>
                &nbsp;<asp:TextBox ID="rar" Width="300" runat="server" />
                <CuteWebUI:Uploader ID="Uploader1" runat="server" InsertButtonID="button1" MultipleFilesUpload="true">
                    <ValidateOption AllowedFileExtensions="rar,zip" />
                </CuteWebUI:Uploader>
                <asp:Button ID="button1" runat="server" Text="上传" />
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td>
                &nbsp;<asp:Button ID="submit" runat="server" Text=" 保 存 " />
            </td>
        </tr>
    </table>
</asp:Content>
